﻿using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(MeshClusterTool))]
public class MeshClusterToolEditor : Editor
{

    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        if (GUILayout.Button("Test"))
        {
            MeshClusterTool meshC = target as MeshClusterTool;
            meshC.ClusterMesh();
        }
    }

}
